
#include "Tshm.h"

int main(int argc, char **argv){
	
	Tshm_init();
	
	char *type = argv[1];
	char *name = argv[2];
	char *value = argv[3];
	int i;
	
	if(!strcmp(type,"all")){
		Tshm_all_cmd(argc,argv);
	}
	else if(!strcmp(type,"get")){
		Tshm_get_cmd(argc,argv);
	}
	else if(!strcmp(type,"set")){
		Tshm_set_cmd(argc,argv);
	}
	
	return 0;
}
